# 分组展示字段，分三块，基础信息、第一轮面试记录、第二轮面试（专业复试）、HR复试
default_fieldsets = (
    ("基础信息", {"fields": (
        "userid", ("username", "city", "phone",), ("email", "apply_position", "born_address",), ("gender",
                                                                                                 "candidate_remark",),
        ("bachelor_school", "master_school", "doctor_school",), ("degree", "major",),
        ("test_score_of_general_ability",
         "paper_score",), "last_editor",)}),
    ("第一轮面试", {"fields": (
        ("first_score", "first_result",), ("first_learning_ability", "first_professional_competency",),
        "first_advantage", "first_disadvantage",
        ("first_recommend_position", "first_interviewer_user", "first_remark",))}),
    ("第二轮专业复试", {"fields": (
        ("second_score", "second_result",),
        ("second_learning_ability", "second_professional_competency", "second_pursue_of_excellence",),
        ("second_communication_ability", "second_pressure_score",), ("second_advantage", "second_disadvantage",),
        ("second_recommend_position", "second_interviewer_user", "second_remark",)),}),
    ("HR复试", {"fields": (
        ("hr_score", "hr_result",), ("hr_responsibility", "hr_communication_ability", "hr_logic_ability",),
        ("hr_potential",
         "hr_stability",),
        ("hr_advantage", "hr_disadvantage",), ("hr_interviewer_user", "hr_remark",)), 'classes': ('collapse',)}),
)

default_fieldsets_first = (
    ("基础信息", {"fields": (
        "userid", ("username", "city", "phone",), ("email", "apply_position", "born_address",), ("gender",
                                                                                                 "candidate_remark",),
        ("bachelor_school", "master_school", "doctor_school",), ("degree", "major",),
        ("test_score_of_general_ability",
         "paper_score",), "last_editor",)}),
    ("第一轮面试", {"fields": (
        ("first_score", "first_result",), ("first_learning_ability", "first_professional_competency",),
        "first_advantage", "first_disadvantage",
        ("first_recommend_position", "first_interviewer_user", "first_remark",))}),
)

default_fieldsets_second = (
    ("基础信息", {"fields": (
        "userid", ("username", "city", "phone",), ("email", "apply_position", "born_address",), ("gender",
                                                                                                 "candidate_remark",),
        ("bachelor_school", "master_school", "doctor_school",), ("degree", "major",),
        ("test_score_of_general_ability",
         "paper_score",), "last_editor",)}),
    ("第一轮面试", {"fields": (
        ("first_score", "first_result",), ("first_learning_ability", "first_professional_competency",),
        "first_advantage", "first_disadvantage",
        ("first_recommend_position", "first_interviewer_user", "first_remark",))}),
    ("第二轮专业复试", {"fields": (
        ("second_score", "second_result",),
        ("second_learning_ability", "second_professional_competency", "second_pursue_of_excellence",),
        ("second_communication_ability", "second_pressure_score",), ("second_advantage", "second_disadvantage",),
        ("second_recommend_position", "second_interviewer_user", "second_remark",)),}),
)